5 matches found
CVE-2021-21305
CVE-2021-21305 affects CarrierWave, a RubyGem for file uploads. The vulnerability lies in the manipulate! method, which in CarrierWave versions before 1.3.2 and 2.1.1 evals content of mutation option(:read/:write), enabling an attacker-controlled string to be executed as Ruby code (RCE) if untrus...
CVE-2021-21288
CVE-2021-21288 affects the CarrierWave RubyGem. The vulnerability is in the download feature of CarrierWave before versions 1.3.2 and 2.1.1, where an attacker can trigger server-side request forgery (SSRF) by supplying DNS entries or IPs intended for internal use, enabling information discovery a...
CVE-2023-49090
CarrierWave (Ruby/Rails file-upload library) contains a Content-Type allowlist bypass vulnerability (CVE-2023-49090). The issue arises because allowlisted_content_type? validates Content-Type via partial matching, enabling an attacker to craft content_type values that bypasses the allowlist, pote...
CVE-2024-29034
CVE-2024-29034 affects CarrierWave (Rails/Sinatra file uploads). The issue arises from a Content-Type allowlist bypass when uploading to object storage (e.g., S3): multiple comma-separated values can bypass the allowlist, enabling possible XSS. The vulnerability references CVE-2023-49090 and is a...
CVE-2026-44587
CarrierWave (Ruby) before versions 2.2.7 and 3.1.3 contains a denylisted_content_type bypass: denylist entries are interpolated into a regex without Regexp.quote or a start anchor, so entries like image/svg+xml render the pattern that fails to match the real MIME type (e.g., /image/svg+x/). This ...